package com.aaa.hospital.pojo.domain;

import com.aaa.hospital.conver.PostConverter;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * Author:张海金
 * Description:T0D0
 * DateTime:2022/1/6 8:32
 **/
@Data
public class Post {
    @ExcelProperty(value = "编号",index = 0)
    private Integer id;
    @ExcelProperty(value = "职位名称",index = 1)
    private String pname;
    @ExcelProperty(value = "该职位状态",index = 2)
    private Integer state;
    @ExcelProperty(value = "该职位对应的部门",index = 3,converter = PostConverter.class)
    private Dept dept;
}
